SftTree/NET 2.0

OptimizedRendering Property, SftTree Class

Softel vdm, Inc.

Defines whether optimized rendering is used.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property OptimizedRendering As Boolean

C#   

public bool OptimizedRendering { get; set; }

C++   

public: property bool OptimizedRendering {
        bool get();
        void set(bool value);
}

Property Value

True if optimized rendering is used, otherwise False.

The default value is True.

Comments

The OptimizedRendering property defines whether optimized rendering is used.

By default, only changes in the control are painted. The rest of the control that has not changed is not repainted. This results in flicker-free, fast repainting.

Under certain circumstances, it may be necessary to repaint the control entirely, even if only a small section needs to be repainted. In that case, OptimizedRendering should be set to False.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com